package ${localPackage}.service;

import ${localPackage}.entity.${gvo.entityName};
import ${localPackage}.vo.${gvo.entityName}VO;
import javax.persistence.*;
import java.util.Date;
import java.util.List;

/**
* Created by chenyuncong on 2018/9/20.
*/
public interface ${gvo.entityName}Service {

        /**
        * 添加
        */
        Integer save(${gvo.entityName}VO vo);

        //查询结果
        ReJson get${gvo.entityName}List(${gvo.entityName}VO vo);

        //根据id获取对象
        ${gvo.entityName} get${gvo.entityName}ById(Integer id);

        //更新对象
        void update(${gvo.entityName}VO vo);

        //删除数据
        void delete(Integer [] ids);


    }
